<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" type="text/css" href="../css/order.css">

    <style type="text/css">

        .a1{
            width: 100px;
            height: 50px;
            background: black;
            margin-top: 50px ;
            color: white;
        }



    </style>

</head>

<body>
<header id="=header">

    <div class="con">
        <div class="img"><img src="../img/1.1.png" alt="Hayoe"/></div>
        <ul class="left" >
            <li><a href="/toshopping">商城</a></li>
            <li><a href="/Comment/toComments">论坛</a></li>
            <li><a href="#">客服</a></li>

        </ul>
        <ul class="right">
            <li><a href="/User/usertoLogin">登录</a></li>
            <li><a href="/User/usertoRegister">注册</a></li>
            <li><a href="#">关于</a></li>

        </ul>
    </div>

</header>
<body>
<table border="1" width="1000">
    <thead>
    <tr>
        <td>游戏id</td>
        <td>游戏名字</td>
        <td>游戏价格</td>


    </tr>
    </thead>
    <tr th:each="orders:${orders1}" >

        <td th:text="${orders.ordersId}"></td>
        <td th:text="${orders.name}"></td>
        <td th:text="${orders.price}"></td>
        <td><a th:href="@{/Order/delect/{orders.ordersId}(orders.ordersId=${orders.ordersId})}"
           class="btn btn-danger btn-sm"
           onclick="if (!(confirm('你确定去退款这个游戏吗')))
                return false">退款</a></td>

    </tr>

</table>
</body>
</html>
</html>
